#coding=utf-8
import random,datetime,time
a=random.randint(1,100)
list=['婷婷','花花','小红','华','君','丽']
a1=random.random()
a2=random.choice(list)
t=datetime.datetime.now().strftime("%Y%m%d%H%M%S")
timestamp = int(time.time())
b1='徐'+str(timestamp)[5:10]
b='徐'+str(a2)+t
phone='188'+str(timestamp)[2:10]
today = datetime.date.today()
print (b1,phone)


url1='http://172.16.70.246/test/oa_personnel/entrant/saveEntrantInfo'
headers1={'Authorization':token,'Content-Type':'application/json'}
timestamp = int(time.time())
name='徐'+str(timestamp)[5:10]
phone='188'+str(timestamp)[2:10]
data1={
    "employeePhone": phone,
    "attributionInfo": [
        "1",
        "1"
    ],
    "employeeName": name,
    "employeeSex": "女",
    "contactWay": "",
    "email": phone +'@139.com',
    "startEntrantDate": "",
    "endEntrantDate": "",
    "clientId": "391",
    "accountManagerName": "孙彪",
    "isHaveInstitutionalContracts": 1,
    "counselorNumber": "20280",
    "organizationId": 257,
    "client2Id": "",
    "postId": "55",
    "employeeId": "",
    "departmentId": "",
    "employeeStatus": "",
    "counselor": "",
    "remark": "备注",
    "contractSerial": "dj343",
    "entryDate": "2024-01-11",
    "resumeFileId": 95876,
    "clientOrganizationId": "1208",
    "postLevelId": "41",
    "attributionId": "1",
    "branchCompanyId": "1",
    "websiteName": "智联招聘",
    "duty": "职责"
}
